package org.zfes.snowier.cloud.zbss.widget.act.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class ActSubjectQuesAnswer extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public ActSubjectQuesAnswer() {}
	public ActSubjectQuesAnswer(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->
	  private java.lang.Long subjectQuesId;
	
	@javax.validation.constraints.NotNull(message="所属课堂不能为空")
	  private java.lang.Long subjectId;
	@javax.validation.constraints.NotNull(message="问题类型不能为空")
	  private java.lang.Long quesId;
	  private java.util.Date answerTime;
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="创建者长度不能大于50")
	  private java.lang.String answerUser;
	@javax.validation.constraints.NotNull(message="答题者不能为空")
	  private java.lang.Long answerUserId;
	  
	@org.hibernate.validator.constraints.Length(min=0,max=20,message="单选题多选题判断答案长度不能大于20")
	  private java.lang.String answerDxMxPd;
	@org.hibernate.validator.constraints.Length(min=0,max=600,message="填空题答案长度不能大于600")
	  private java.lang.String answerTk;
	@org.hibernate.validator.constraints.Length(min=0,max=65535,message="简答题论述分析答案长度不能大于65,535")
	  private java.lang.String answerJdLsFx;
	//状态_D#1正常，2已出题#
	@javax.validation.constraints.NotNull(message="状态:不能为空")
	  private java.lang.Byte answerResult;
	//答案_D#1不公布，2可以公布#
	private  java.lang.Byte openAnswer;
	//<-------------------------------------------->
	public ActSubjectQuesAnswer setSubjectId(java.lang.Long subjectId){
	 this.subjectId=subjectId;
	 return this;
	}
	public java.lang.Long getSubjectId(){
		return this.subjectId;
	}

	public ActSubjectQuesAnswer setQuesId(java.lang.Long quesId){
	 this.quesId=quesId;
	 return this;
	}
	public java.lang.Long getQuesId(){
		return this.quesId;
	}
	public ActSubjectQuesAnswer setAnswerTime(java.util.Date answerTime){
	 this.answerTime=answerTime;
	 return this;
	}
	public java.util.Date getAnswerTime(){
		return this.answerTime;
	}
	public ActSubjectQuesAnswer setAnswerUser(java.lang.String answerUser){
		this.answerUser=answerUser==null?null:answerUser.trim();
	 return this;
	}
	public java.lang.String getAnswerUser(){
		return this.answerUser;
	}
	public ActSubjectQuesAnswer setAnswerUserId(java.lang.Long answerUserId){
	 this.answerUserId=answerUserId;
	 return this;
	}
	public java.lang.Long getAnswerUserId(){
		return this.answerUserId;
	}
	public ActSubjectQuesAnswer setAnswerDxMxPd(java.lang.String answerDxMxPd){
		this.answerDxMxPd=answerDxMxPd==null?null:answerDxMxPd.trim();
	 return this;
	}
	public java.lang.String getAnswerDxMxPd(){
		return this.answerDxMxPd;
	}
	public ActSubjectQuesAnswer setAnswerTk(java.lang.String answerTk){
		this.answerTk=answerTk==null?null:answerTk.trim();
	 return this;
	}
	public java.lang.String getAnswerTk(){
		return this.answerTk;
	}
	public ActSubjectQuesAnswer setAnswerResult(java.lang.Byte answerResult){
	 this.answerResult=answerResult;
	 return this;
	}
	public java.lang.Byte getAnswerResult(){
		return this.answerResult;
	}
	public ActSubjectQuesAnswer setAnswerJdLsFx(java.lang.String answerJdLsFx){
		this.answerJdLsFx=answerJdLsFx==null?null:answerJdLsFx.trim();
	 return this;
	}
	public java.lang.String getAnswerJdLsFx(){
		return this.answerJdLsFx;
	}
	public java.lang.Long getSubjectQuesId() {
		return subjectQuesId;
	}
	public ActSubjectQuesAnswer setSubjectQuesId(java.lang.Long subjectQuesId) {
		this.subjectQuesId = subjectQuesId;
		 return this;
	}
	public java.lang.Byte getOpenAnswer() {
		return openAnswer;
	}
	public ActSubjectQuesAnswer setOpenAnswer(java.lang.Byte openAnswer) {
		this.openAnswer = openAnswer;
		 return this;
	}

}
